//
/***********************************************************
             File name:      main.c
             Author:         Bitat (陆叁柒)
             Email :         Bitat@qq.com
             Gitee :         https://gitee.com/bitat
             CSDN  :         https://blog.csdn.net/bitat 
             History:        2023/3/23
************************************************************/

//输入三个字符后，按各字符的ASCII码从小到大的顺序输出这三个字符。
#include <stdio.h>

int main()
{
    char a,b,c;
    char tmp = 0;
    scanf("%c%c%c",&a,&b,&c);
    if(a > b)
    {
        tmp = a;
        a = b;
        b = tmp;
    }
    if(a > c)
    {
        tmp = a;
        a = c;
        c = tmp;
    }
    if(b > c)
    {
        tmp = b;
        b = c;
        c = tmp;
    }
    
    printf("%c %c %c",a,b,c);
    return 0;
}

